%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%openDACS projects%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Curves for A-IGZO TETs
%%% Print parameters or self-generate Verilog-A
%%% About a-IGZO devices and models,pls refer 10.1063/1.4922181,10.1109/TED.2021.3054359
%%% developed by Jingrui Guo,Lingfei Wang, and Ling Li from IME-CAS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function plot_curves(bias_data,Id,Id_data)
figure(1)
% subplot(1,3,1)
plot(bias_data(:,1),Id,'r*',bias_data(:,1),Id_data,'ko')
xlabel('Voltage (V)')
ylabel('I_d_s(A)')
title('Current')
% subplot(1,3,2)
figure(2)
plot(bias_data(:,2),Id,'r*',bias_data(:,2),Id_data,'ko')
xlabel('Voltage (V)')
ylabel('I_d_s(A)')
title('Current')
figure(3)
% subplot(1,3,3)
semilogy(bias_data(:,1),abs(Id),'r*',bias_data(:,1),abs(Id_data),'ko')
xlabel('Voltage (V)')
ylabel('I_d_s(A)')
title('Current')
end